package com.loe.test

import com.loe.mvp.util.sp.SpDelegate

/**
 * 用户SP
 */
object SpCache: SpDelegate()
{
    var lastBackTime by long()

    var phone by string()

    var name by string()

    /** 是否有更新 */
    var isHaveUpdate by boolean()

    var lastUpdateTime by long()

    var updateApkUrl by string()

    /*=============================== 登录 =============================*/

    var ttj_sso_log by string()
    var systemId by string()
    var token by string()

    var permissions by string()

    var lastPermissionTime by long()

    /*=============================== 门店 =============================*/

    var shopId by string()
    var shopCode by string()
    var shopName by string()
    var businessMode by int() // 1->自营；2->加盟
    var address by string()
    var leaderWorkNum by string()
    var openTime by string()
    var currentTime by string()

    /*=============================== 数据 =============================*/

    var categoryData by string()

    var shopListData by string()

    var searchListData0 by string()
    var searchListData1 by string()

    var printListData by jsonArray()
}